package io.renren.modules.jxgk.service.impl;

import io.renren.modules.jxgk.dao.TeacherChartsDao;
import io.renren.modules.jxgk.entity.TeacherRanking;
import io.renren.modules.jxgk.entity.TempTeacherEvaluation;
import io.renren.modules.jxgk.service.TeacherChartsService;
import io.renren.modules.jxgkphone.entity.CourseDate;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;
@Service
public class TeacherChartsServiceImpl implements TeacherChartsService {
    @Autowired
    TeacherChartsDao teacherChartsDao;
    @Override
    public List<TempTeacherEvaluation> getTeachingEvaluation(CourseDate courseDate) {
        return teacherChartsDao.getTeachingEvaluation(courseDate);
    }

    @Override
    public List<TeacherRanking> getTodayArriveTeacherRanking() {
        return teacherChartsDao.getTodayArriveTeacherRanking();
    }

    @Override
    public List<TeacherRanking> getTodayLeaveTeacherRanking() {
        return teacherChartsDao.getTodayLeaveTeacherRanking();
    }

    @Override
    public List<TeacherRanking> getTodayTimeTeacherRanking() {
        return teacherChartsDao.getTodayTimeTeacherRanking();
    }

    @Override
    public Integer getTodayHomeworkCount() {
        return teacherChartsDao.getTodayHomeworkCount();
    }
}
